package x.zero.service.sys;


import x.zero.pojo.entity.SysArea;
import x.zero.mapper.SysAreaMapper;
import x.zero.pojo.vo.AreaWithChildrenItem;
import org.springframework.stereotype.Service;

import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 */
@Service
public class SysAreaService extends BaseService<SysArea> {

    @Autowired
    SysAreaMapper sysAreaMapper;

    public List<AreaWithChildrenItem> listWithChildren() {
        return sysAreaMapper.listWithChildren();
    }
}


